package com.jk.sec.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("")
public class PageController {
    //跳转到左侧树
    @RequestMapping("tree")
    public String tree(){
        return "tree";
    }
    //跳转查询影片页面
    @RequestMapping("cinema")
    public String cinema(){
        return "cinema";
    }
    //跳转到登录注册页面
    @RequestMapping("")
    public String index(){
        return "index";
    }
    //跳转管理员页面
    @RequestMapping("roleTree")
    public String roleTree(){
        return "roleTree";
    }
    //跳转到影片分页查询页面
    @RequestMapping("picture")
    public String picture(){
        return "picture";
    }
    @RequestMapping("pictures")
    public String pictures(){
        return "pictures";
    }
    //跳转影片新增页面
    @RequestMapping("addMovie")
    public String addMovie(){
        return "addMovie";
    }
    //跳转影片修改页面
    @RequestMapping("echo")
    public String echo(){
        return "echo";
    }
    //跳转个人中心
    @RequestMapping("myCenter")
    public String myCenter(){
        return "myCenter";
    }
}
